@ECHO OFF

REM Step 1 - Generate the reflection information
"C:\Program Files\Sandcastle\ProductionTools\MRefBuilder" /config:MRefBuilder.config /out:reflection.org   *.dll *.exe

IF ERRORLEVEL 1 GOTO Exit

REM Merge duplicate topics (if any)
COPY /Y reflection.org reflection.all

"C:\Program Files\Sandcastle\ProductionTools\XslTransform" /xsl:"C:\Program Files\Sandcastle\ProductionTransforms\MergeDuplicates.xsl" reflection.all /out:reflection.org

:Exit
